Exchanging nogoods : an efficient cooperative search for solving constraint satisfaction problems Research Report Number LSIS
نویسنده
چکیده
We propose a new cooperative concurrent search for solving the constraint satisfaction problem. Our approach consists in running independently many solvers (each one being associated with a process). These solvers exploit the algorithm Forward-Checking with Nogood Recording and they differ from each other in the heuristics they use for ordering variables and values. The cooperation is then based on exchanging nogoods (i.e. instantiations which cannot be extended to a solution). It is realized by two cooperation forms. On the one hand, we record every produced nogood in a shared memory. Thanks to these nogoods, each solver can then prune its own search tree. On the other hand a solver communicates directly a nogood to some other solvers by sending a message. We propose three different schemes for implementing the second cooperation form. Two of them reduce the communication cost by only sending to a solver the nogoods which are useful for it. Furthermore, we add to each solver a interpretation phase whose role is to limit the size of the search tree according to the received nogoods. Finally, we explain why a trade-off between cooperation and concurrency is required, before proposing such a trade-off. From a practical point of view, the interest of our approach is shown experimentally on random instances and on real-world instances. First, we establish that exchanging nogoods appears to be an efficient cooperation form. In particular, on random instances, we obtain linear or superlinear speed-up for consistent problems, like for inconsistent ones, up to about ten solvers. Then, we compare our approach with some classical state-of-the-art enumerative algorithms. In a multiprocessor system, our approach with at least two or four solvers is faster than these classical algorithms. In a monoprocessor system, in most cases, it is equivalent to or better than Forward-Checking with Nogood Recording but it is often worse than the other classical algorithms. However, in a few cases, in particular for some real-world instances, it outperforms the classical algorithms.
منابع مشابه
Cooperative Search and Nogood Recording
Within the framework of constraint satisfaction problem, we propose a new scheme of cooperative parallel search. The cooperation is realized by exchanging nogoods (instantiations which can’t be extended to a solution). We associate a process with each solver and we introduce a manager of nogoods, in order to regulate exchanges of nogoods. Each solver runs the algorithm Forward-Checking with Nog...
متن کاملUsing nogoods information from restarts in domain-splitting search
The use of restart techniques associated with learning nogoods in solving Constraint Satisfaction Problems (CSPs) is starting to be considered of major importance for backtrack search algorithms. In a backtracking search algorithm, with domain-splitting branching, nogoods can be learned from the last branch of the search tree, immediately before the restart occurs. This type of nogoods, named d...
متن کاملDomain-Splitting Generalized Nogoods from Restarts1
The use of restarts techniques associated with learning nogoods in solving Constraint Satisfaction Problems (CSPs) is starting to be considered of major importance for backtrack search algorithms. Recent developments show how to learn nogoods from restarts and that those nogoods are essential when using restarts. Using a backtracking search algorithm, with 2-way branching, generalized nogoods a...
متن کاملA New Method for Solving Constraint Satisfaction Problems
Many important problems in Artificial Intelligence can be defined as Constraint Satisfaction Problems (CSP). These types of problems are defined by a limited set of variables, each having a limited domain and a number of Constraints on the values of those variables (these problems are also called Consistent Labeling Problems (CLP), in which “Labeling means assigning a value to a variable.) Solu...
متن کاملA New Method for Solving Constraint Satisfaction Problems
Many important problems in Artificial Intelligence can be defined as Constraint Satisfaction Problems (CSP). These types of problems are defined by a limited set of variables, each having a limited domain and a number of Constraints on the values of those variables (these problems are also called Consistent Labeling Problems (CLP), in which “Labeling" means assigning a value to a variable.) Sol...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003